<% form_remote_tag(:url => {:controller => 'calendar', :action => params[:act]}, :loading => "TrackSuite.ajax.loadding('submit_calendar');") do %>
    <%= hidden_field "calendar", "id" %>
    <table border="1">
        <thead>
          <tr><td>Inclusão e alteração de datas</td></tr>
        </thead>     
        <tbody>
          <tr><td>Tipo: </td></tr>
          <tr><td><%= text_field "calendar", "calendartype" %></td></tr>
          <tr><td>Data Inicial: </td></tr>
          <tr><td><%= text_field "calendar", "begindate" %></td></tr>
          <tr><td>Data Final: </td></tr>
          <tr><td<%= text_field "calendar", "finaldate" %> </td></tr>
          <tr><td>Descrição: </td></tr>
          <tr><td><%= text_field "calendar", "description" %> </td></tr>
          <tr><td align="right">
              <span id="submit_calendar"><%= image_submit_tag "/images/icons/ok.png" %></span> 
              <%= link_to_function(image_tag("/images/icons/cancel.png", :border => "0"), "TrackSuite.util.element.hide('calendar_form')") %>
          </td></tr>
        </tbody>
    </table>
<% end %>